<?php
//留存率记录时间
$ltvLogDay = [];
for ($i = 1; $i <= 30; $i++) {
    $ltvLogDay[] = $i;
}
for ($i = 45; $i <= 90; $i += 15) {
    $ltvLogDay[] = $i;
}
$ltvLogDay[] = 180;

return [
    'date_type' => [//日期选择类型
        '1' => "今日",
        '2' => "昨日",
        '3' => "近7日",
        '4' => "近30日",
        '5' => "近半年",
    ],
    'ltv_log_day' => $ltvLogDay,
    'retention_log_day' => array_slice($ltvLogDay, 1),
];